From 212efff62a995f3d64d76879f371c090bde00b6d Mon Sep 17 00:00:00 2001 From: Christian Limpach Date: Thu, 21 Sep 2006 13:53:49 +0100 Subject: [PATCH] [tools] Increases some of the timeouts since e.g. stealing the hotplug lock after five seconds is completely insane. From: Steven Smith Signed-off-by: Christian Limpach --- tools/examples/locking.sh | 2 +- tools/ioemu/target-i386-dm/helper2.c | 4 ++-- tools/python/xen/xend/server/DevController.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/examples/locking.sh b/tools/examples/locking.sh index 9dd2157452..6ff58e7e6c 100644 --- a/tools/examples/locking.sh +++ b/tools/examples/locking.sh @@ -21,7 +21,7 @@ LOCK_SLEEPTIME=1 LOCK_SPINNING_RETRIES=5 -LOCK_RETRIES=10 +LOCK_RETRIES=100 LOCK_BASEDIR=/var/run/xen-hotplug diff --git a/tools/ioemu/target-i386-dm/helper2.c b/tools/ioemu/target-i386-dm/helper2.c index 83fc5e8f00..4134aade4c 100644 --- a/tools/ioemu/target-i386-dm/helper2.c +++ b/tools/ioemu/target-i386-dm/helper2.c @@ -520,8 +520,8 @@ int main_loop(void) } } - /* Wait up to 10 msec. */ - main_loop_wait(10); + /* Wait up to 100 msec. */ + main_loop_wait(100); if (env->send_event) { env->send_event = 0; diff --git a/tools/python/xen/xend/server/DevController.py b/tools/python/xen/xend/server/DevController.py index e90008dbc0..fed36b40a1 100644 --- a/tools/python/xen/xend/server/DevController.py +++ b/tools/python/xen/xend/server/DevController.py @@ -25,7 +25,7 @@ from xen.xend.XendLogging import log from xen.xend.xenstore.xstransact import xstransact, complete from xen.xend.xenstore.xswatch import xswatch -DEVICE_CREATE_TIMEOUT = 10 +DEVICE_CREATE_TIMEOUT = 100 HOTPLUG_STATUS_NODE = "hotplug-status" HOTPLUG_ERROR_NODE = "hotplug-error" HOTPLUG_STATUS_ERROR = "error" -- 2.30.2